﻿@model HdipCricketClub.Models.Fixture

@{
    ViewBag.Title = "Fixture Details";
}

<h2>Fixture Details</h2>

<fieldset>
    <legend>Fixture</legend>

    <div class="display-label">Team:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Team.name)
    </div>

    <div class="display-label">Opponent:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Opponent.club_name) @Html.DisplayFor(model => model.Opponent.team_name)
    </div>

    <div class="display-label">@Html.LabelFor(model => model.type)</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.type)
    </div>

    <div class="display-label">@Html.LabelFor(model => model.home)</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.home)
    </div>

    <div class="display-label">@Html.LabelFor(model => model.date)</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.date)
    </div>

    <div class="display-label">@Html.LabelFor(model => model.start_time)</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.start_time)
    </div>

    <div class="display-label">@Html.LabelFor(model => model.no_of_players)</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.no_of_players)
    </div>
       
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id = Model.fixture_id }) |
    @Html.ActionLink("Back to List", "Index")
</p>
